Developer --> Technical Publications
PATHMac OS 8 Developer Documentation > Networking and Communications > AppleShare >

User Authentication Modules


Result Codes

Server UAM functions return AppleShare Registry result codes, which are listed here.

noErr 0 No error
kOAMErrInitializationError -29300 The AppleShare Registry Library has not been initialized.
kOAMErrParameterError -29301 A parameter is invalid.
kOAMErrGeneralError -29302 An internal error occurred.
kOAMErrObjectNotFound -29310 The specified object or object type does not exist in the Registry.
kOAMErrContainerObjectNotFound -29311 The specified group object does not exist in the Registry.
kOAMErrMemberObjectNotFound -29312 The specified group member does not exist in the Registry.
kOAMErrDuplicateObject -29320 The specified object already exists in the Registry.
kOAMErrMaximumObjects -29330 The user object already contains the maximum number of group members.
kOAMErrMaximumMemberObjects -29331 The group object already has the maximum number of members.
kOAMErrAttributeNotFound -29340 The specified attribute does not exist in the Registry.
kOAMErrAttributeReadOnly -29341 The specified attribute allows only read access. Its value is maintained by the Registry.
kOAMErrAttributeReadWriteOnly -29342 The specified attribute is a required attribute that cannot be deleted.
kOAMErrAttributeBufferTooSmall -29343 The specified buffer is too small to store the data that has been returned by an AppleShare Registry Library function.
kOAMErrAttributeBufferTooLarge -29344 The specified buffer is too large to store the data that has been passed to an AppleShare Registry Library function.
kOAMErrMaximumAttributes -29345 More than 20 attributes have been specified.
kOAMErrBufferTooSmall -29350 The specified buffer is too small to store the data that has been returned by an AppleShare Registry Library function.
kOAMErrBufferTooLarge -29351 The specified buffer is too large to store the data that has been passed to an AppleShare Registry Library function.
kOAMErrAuthenticationError -29360 An authentication error. For example, the specified password is incorrect or the user is not an administrator.
kOAMErrAuthenticationInProgress -29361 The call to OAMAuthenticate was successful, but additional calls to OAMAuthenticate must be made to complete the authentication process.
kOAMErrLoginDisabled -29362 Log-on privileges for the user that was used to authenticate this session have been disabled.
kOAMErrAuthenticationServerError -29363 The server failed a key challenge from the client.
kOAMErrUAMNotFound -29364 The requested user authentication module does not exist.
kOAMErrAdminDisabled -29365 Administrative privileges for the user object used to authenticate this session have been disabled.
kOAMErrAuthenticationAdminError -29366 Administrator authentication failed.
kOAMErrPasswordNeedsChange -29370 Authentication was successful, but the password of the user object used to authenticate this session must be changed before it can be used again.
kOAMErrPasswordExpired -29371 Authentication failed. The user's password has expired.
kOAMErrPasswordMinimumLen -29372 Authentication succeeded, but the password is shorter than the minimum allowed.
kOAMErrSamePassword -29373 The password specified in a call to OAMChangeObjectKey is the same as the current password.
kOAMErrPasswordChangeDisabled -29374 The user object specified in a call to OAMChangeObjectKey is not allowed to change the password attribute.
kOAMErrServerNotFound -29380 The specified agent was not found on the network.
kOAMErrServerNotInstalled -29381 The AppleShare Registry Agent is not installed on this machine.
kOAMErrServerNotReady -29382 The agent is starting up. Reissue the call after a short delay.
kOAMErrNoMachineName -29383 The machine name is not available to the local agent.
kOAMErrRequestTooLarge -29384 The call returned more than the maximum amount of allowable data. Adjust parameters to return less data.
kOAMErrNetworkError -29385 The connection to the Registry has been lost because of a network failure or the termination of an agent. Establish another session when the network is restored and the agent is available.
kOAMErrSessionIDError -29386 The session ID is invalid.
kOAMErrMaximumSessions -29387 Your application tried to open more sessions than it specified when it called OAMInitialize .


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)